package com.sk.sqd;

/**
 * 饿汉式
 */
public class EagerSingle {

    private static EagerSingle eagerSingle;

    private EagerSingle() {
    }

    static {
        eagerSingle = new EagerSingle();
    }

    public static EagerSingle getInstance() {
        return eagerSingle;
    }

}
